Contents | Index | < Browse | Browse >

LETTERisspaceULETTER Tests for space characters.

Overview
#include <ctype.h>

b = isspace(ch);

int ch;

Portability
ANSI

Description
This function tests if the character passed is a space character. Among the normal whitespace (ASCII code 32) this includes all '\t' tabs, '\n' linefeeds, '\r' carriage returns, '\f' form feeds and '\v' vertical tabs.

Returns
0 if it is no space character, a value <>0 otherwise.

See also